#!/usr/bin/perl

my(@K);
@K = (1,2,5,10,15,20,50);
#@K = (20);

foreach $k (@K) {
	print "K = $k\n";
#	`cp FinalTrainingResults/vaaneeConfigDec.k$k.pm vaaneeConfig.pm`;
#	`perl vaanee.pl -m decode -s  ~/data/tourismCorpus/english/eng_12300.devel.lwgFmt.txt -d ~/data/tourismCorpus/english/stanford/eng_12300.devel.standep.reallwg.txt > outputDecode.50.k$k 2> errorsDecode.50.k$k`;
#	`cp outputDecode.50.k$k FinalTrainingResults/`;
#	`cp errorsDecode.50.k$k FinalTrainingResults/`;
	`perl ~/tools/eval/getData.pl ~/data/tourismCorpus/english/eng_12300.devel.uniqIDs.AnalgenPass.txt < FinalTrainingResults/outputDecode.50.k$k > FinalTrainingResults/outputDecode.50.k$k.uniq.AnalgenPass`;
	print `bleuAndLex.sh ~/data/tourismCorpus/hindi/hnd_12300.devel.wx.50.uniq.AnalgenPass.txt FinalTrainingResults/outputDecode.50.k$k.uniq.AnalgenPass`;
}

#`cp FinalTrainingResults/vaaneeConfigDec.k1.noLM.pm vaaneeConfig.pm`;
#`perl vaanee.pl -m decode -s  ~/data/tourismCorpus/english/eng_12300.devel.lwgFmt.txt -d ~/data/tourismCorpus/english/stanford/eng_12300.devel.standep.reallwg.txt > outputDecode.50.k1.noLM 2> errorsDecode.50.k1.noLM`;
#`cp outputDecode.50.k1.noLM FinalTrainingResults/`;
#`cp errorsDecode.50.k1.noLM FinalTrainingResults/`;
#`perl ~/tools/eval/getData.pl ~/data/tourismCorpus/english/eng_12300.devel.uniqIDs.txt < FinalTrainingResults/outputDecode.50.k1.noLM > FinalTrainingResults/outputDecode.50.k1.noLM.uniq`;
#print `bleuAndLex.sh ~/data/tourismCorpus/hindi/hnd_12300.devel.wx.50.uniq.txt FinalTrainingResults/outputDecode.50.k1.noLM.uniq`;
